﻿using System;

namespace BonsaiScrum.Core.Domain
{
    public class UserDisabledException : Exception
    {
        public UserDisabledException(string userName)
        {
            UserName = userName;
        }

        public string UserName { get; private set; }

        public override string Message
        {
            get
            {
                return string.Format("Cannot make assignments to '{0}' because user is not active.", UserName);
            }
        }
    }
}
